<?php
class BaseAction extends Action {
    function _initialize() {
        if (!isset($_SESSION[C("USER_AUTH_KEY")])) {
            header('location:'.__APP__.'/login');
        }
    }
    
}
?>